name = ['小明', '球球', '柠檬']
# 增
name.append('小红')
print(name)
# 删
name.pop()
print(name)
name.remove('小明')
print(name)
# 改
name[1] = '番茄'
print(name)
# 查
name.append('小红')
name.append('小明')
print(name)
print(name[2]) # 正数从0开始 负数从-1开始
print(name[-2])
